package hu.bme.mit.mdsd.csipetcsapat.appstore.core;

import javax.xml.ws.Endpoint;

import hu.bme.mit.mdsd.csipetcsapat.appstore.account.*;
import hu.bme.mit.mdsd.csipetcsapat.appstore.development.*;
import hu.bme.mit.mdsd.csipetcsapat.appstore.store.*;

public class Publisher {
	public static void main(String [] args) {
		Endpoint.publish("http://localhost:8080/account/ModifyUserdata", new ModifyUserdataService());
		Endpoint.publish("http://localhost:8080/account/ViewCredit", new ViewCreditService());
		Endpoint.publish("http://localhost:8080/account/LoginUser", new LoginUserService());
		Endpoint.publish("http://localhost:8080/account/RegisterUser", new RegisterUserService());
		Endpoint.publish("http://localhost:8080/account/RouteTransaction", new RouteTransactionService());
		Endpoint.publish("http://localhost:8080/account/ListPendingtransactions", new ListPendingtransactionsService());
		Endpoint.publish("http://localhost:8080/account/TransferMoney", new TransferMoneyService());
		Endpoint.publish("http://localhost:8080/account/CashoutMoney", new CashoutMoneyService());
		Endpoint.publish("http://localhost:8080/development/DeterminePublication", new DeterminePublicationService());
		Endpoint.publish("http://localhost:8080/development/ListOwnapplications", new ListOwnapplicationsService());
		Endpoint.publish("http://localhost:8080/development/UpdateMetadata", new UpdateMetadataService());
		Endpoint.publish("http://localhost:8080/development/UploadApplication", new UploadApplicationService());
		Endpoint.publish("http://localhost:8080/development/UpdateApplication", new UpdateApplicationService());
		Endpoint.publish("http://localhost:8080/store/ListPurchasedapplications", new ListPurchasedapplicationsService());
		Endpoint.publish("http://localhost:8080/store/PurchaseApplication", new PurchaseApplicationService());
		Endpoint.publish("http://localhost:8080/store/ListAllapplications", new ListAllapplicationsService());
		Endpoint.publish("http://localhost:8080/store/SearchApplication", new SearchApplicationService());
		Endpoint.publish("http://localhost:8080/store/ListApplicationbycategory", new ListApplicationbycategoryService());
		Endpoint.publish("http://localhost:8080/store/DownloadApplication", new DownloadApplicationService());
	}
}
